/*
 * Created on Dec 14, 2003
 *
 * To change the template for this generated file go to
 * Window&gt;Preferences&gt;Java&gt;Code Generation&gt;Code and Comments
 */
package com.unash.asn;

import junit.framework.TestCase;

/**
 * @author Unmesh Joshi
 *
 * To change the template for this generated type comment go to
 * Window&gt;Preferences&gt;Java&gt;Code Generation&gt;Code and Comments
 */
public class BerDecoderTest extends TestCase {

	/**
	 * Constructor for BerDecoderTest.
	 * @param arg0
	 */
	public BerDecoderTest(String arg0) {
		super(arg0);
	}//BerDecoderTest(String arg0)

	public static void main(String[] args) {
		junit.swingui.TestRunner.run(BerDecoderTest.class);
	}//main(String[] args)
  //testDecodeBitString()
	
	
	/*final public void testDecodeOctetString() throws Exception{
		byte[] bValue = new byte[]{(byte)0x20};
		Byte[] bByteValue;
		
		bByteValue = new Byte[1];
		bByteValue[0] = new Byte(bValue[0]);
		System.out.println("ByteVAlue : " + bByteValue[0].byteValue());
			 
	    BEROutputStream oStream = new BEROutputStream();
	    //oStream.octetstring_codec(bValue,false);
		oStream.octetstring_codec(bByteValue,false);
		byte[] intArray = oStream.toByteArray();
		
		ByteArrayInputStream is = new ByteArrayInputStream(intArray);
	
		com.unash.asn.AsnOctetString myOctetString = BerDecoder.decodeOctetString(is,AsnUtil.getLength(is));	
		assertEquals(myOctetString, new com.unash.asn.AsnOctetString(bValue));	
	}//testDecodeOctetString()*/
	
	
	final public void testDecodeBoolean() throws Exception{
				
	}//testDecodeBoolean

}